import request from '../utils/request'

// 定义接口函数--登录接口
const loginAPI = ({ tel, pwd }) => request({
  method: 'POST',
  url: '/v1_0/authorizations',
  data: {
    mobile: tel,
    code: pwd
  }
})

export {
  loginAPI
}
